class Student(object):
    def __init__(self, name, gender, tel):
        self.name = name
        self.gender = gender
        self.tel = tel

    def __str__(self):
        return f'学员的名称是：{self.name}，性别是{self.gender},电话号码是{self.tel}。'


if __name__ == '__main__':
    student = Student('pan', '男', '135')
    print(student)
